#define _ALLOW_COMPILER_AND_STL_VERSION_MISMATCH
#include <cuda_runtime.h>

__global__ void myKernel()
{
    // 示例核函数
    int idx = threadIdx.x;
    printf("Hello from thread %d\n", idx);
}

extern "C" void launchKernel()
{
    myKernel<<<1, 10>>>();
    cudaDeviceSynchronize();
}
